var entityCollection = require('../../../Base/server/controllers/EntityCollection');

//获取批次
exports.getMOLotnumber = function(completeFun) {
    var entityMO = entityCollection.getEntity("MO");
    entityMO.find({}, { LotNumber: 1 }, null, function(err, records) {
        if (err) {
            completeFun(err);
        }
        completeFun(err, records);
    });
};